﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FlowLevelGrid.aspx.cs" Inherits="FantastPlatform.Decision.UI.FlowLevelGrid" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript">
        var flg = new FantastPlatform.UI.FlowLevelGrid({
            renderTo: 'flg_div',
            url: '../Service/FlowElementViewService.aspx?Action=SearchLevelByFlowId&flowId=' + '<%=GetFlowId() %>',
            border: false,           
            height:280,
            tbar: [{
                text: '启动',
                iconCls: 'add',
                tooltip: {
                    text: '启动应急预案',
                    autoHide: true
                },
                handler: function () { flg.onStartClick(); }
            },'-', {
                text: '刷新',
                iconCls: 'updata',
                tooltip: {
                    text: '重新更新列表内容',
                    title: '列表刷新',
                    autoHide: true
                },
                handler: function () { flg.onUpdataClick(); }
            }]
        });
        flg.onUpdataClick();
    </script>
</head>
<body>
    <div id="flg_div">
    </div>
</body>
</html>
